package oa.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import oa.entity.Employee;

public interface EmployeeBiz {
	Employee fetchByUser(@Param("nr") String nr,@Param("password") String password);
	void updatePassword(@Param("password")String password,
			@Param("id")int id)
	;
	List<Employee> getAll();
	Employee fetchByid(int id);
	void addEmployee(Employee employee);
	void updateEmployee(Employee employee);
	List<Employee> getAllztree();
}	
